<?php

return [
    'check' => [
        'whitelist' => [
            'not_match' => 'Param :param does not match the whitelist rule.'
        ],
        'common' => [
            'not_exist' => 'Risk check param :display_name does not exist.',
            'hit_blacklist' => 'Param :display_name hit blacklist rule, the transaction has been rejected.',
            'in_ban_range' => 'Param :display_name is in ban range, the transaction has been rejected.',
            'fail' => 'Param :display_name failed the risk control inspection, the transaction has been rejected.'
        ],
    ],

    'channel' => [
        'no_available' => 'There is no payment channel available.',
        'limit'        => [
            'not_open'      => 'The payment channel limit :channel_no was not open.',
            'invalid'       => [
                'amount_min'    => 'The minimum amount of a single order configuration of channel is invalid.',
                'amount_max'    => 'The maximum amount of a single order configuration of channel is invalid.',
                'daily_limit'   => 'The daily limit configuration of channel is invalid.',
                'monthly_limit' => 'The monthly limit configuration of channel is invalid.',
            ],
            'not_satisfied' => [
                'amount_min'     => 'The minimum transaction amount for a single order of the channel is :currency :amount, so the payment channel is not available',
                'amount_max'     => 'The maximum transaction amount for a single order of the channel is :currency :amount, so the payment channel is not available',
                'daily_amount'   => 'Exceed the daily transaction amount limit of the channel.',
                'monthly_amount' => 'Exceed the monthly transaction amount limit of the channel.',
            ],
        ],
    ],

    'mch' => [
        'channel' => [
            'limit' => [
                'not_open'      => 'Merchant :mch_no has not opened the limit on payment channel :channel_no.',
                'invalid'       => [
                    'amount_min'               => 'The minimum amount of a single order configured by the merchant is invalid.',
                    'amount_max'               => 'The maximum amount of a single order configured by the merchant is invalid.',
                    'daily_amount_threshold'   => 'The daily amount threshold configured by the merchant is invalid.',
                    'monthly_amount_threshold' => 'The monthly amount threshold configured by the merchant is invalid.',
                ],
                'not_satisfied' => [
                    'amount_min'     => 'The minimum transaction amount for a single order set by the merchant is :currency :amount, so the payment channel is not available',
                    'amount_max'     => 'The maximum transaction amount for a single order set by the merchant is :currency :amount, so the payment channel is not available',
                    'daily_amount'   => 'Exceed the daily transaction amount limit of the merchant, the daily limit is :currency :amount.',
                    'monthly_amount' => 'Exceed the monthly transaction amount limit of the merchant, the daily limit is :currency :amount.',
                ],
            ],
        ],
    ],
];
